package com.wyx.system.common;

import lombok.Data;


public enum ResponseEnum {

    OK("200", "成功"),
    ERROR("404", "失败"),
    EX("500","跳转失败");

    ResponseEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    ResponseEnum() {
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    private String code;
    private String msg;
}
